package com.ruoyi.kubernetes.service;

import com.ruoyi.kubernetes.models.CSRRequestData;
import com.ruoyi.kubernetes.models.CSRResponseData;

public interface IKubernetesClientCSRService {

    /**
     * 创建csr请求
     * */
    CSRResponseData createCSR(CSRRequestData csrRequestData);

    /**
     * 同意csr请求
     * */
    String approveCSR(String csrName);

    /**
     * 拒绝csr请求
     * */
    boolean denyCSR(String csrName);

    /**
     * 获取crt字符串
     * */
    String getCRTString(String csrName);
}
